package com.moli.iov.sys.model.dto.req;

import java.io.Serializable;
import javax.validation.constraints.NotNull;
import lombok.Data;

/**
 * <p>
 * 权限 第三方
 * </p>
 *
 * @author zql
 * @since 2019/9/21 13:42
 */
@Data
public class PermissionThirdDto implements Serializable {

  private static final long serialVersionUID = -3455740600696145116L;

  /**
   * 企业id
   */
  @NotNull(message = "企业id不能为空", groups = {List.class})
  private Long companyId;

  /**
   * 角色id
   */
  @NotNull(message = "角色id不能为空", groups = {List.class})
  private Long roleId;

  public interface List{}
}
